package org.openkanban.client.ui.board;

import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.util.Page;
import com.smartgwt.client.widgets.IButton;

/**
 * GUI Element for the BoardHeaderButton
 */
public class OpenKanbanButton extends IButton {

    public OpenKanbanButton() {
	setSrc(Page.getAppImgDir() + "boardheader/boardheaderbutton.png");
	setStyleName("boardheaderbutton");
	setHeight(37);
	setAlign(Alignment.CENTER);
	setTitleStyle("adminButtonTitle");
    }

    public OpenKanbanButton(String title) {
	this();
	setTitle(title);
    }

}
